// feed信息
import { POST } from '@/api/http';


const service = 'com.xgggh.srv.feeds';
const url = 'feeds';
// feeds 信息流
export function feeds(body) {
  const params = {
    method: 'Feed.HomeFeeds',
    service,
    request: `${JSON.stringify(body)}`,
  };
  return POST(url, params);
}

// feed 单条信息
export function feed(body) {
  const params = {
    method: 'Feed.feed',
    service,
    request: `${JSON.stringify(body)}`,
  };
  return POST(url, params);
}

export default { feeds, feed };
